package com.nail.api.customMake.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;


/**
 * 订单
 */
@Table(name = "indent")
public class Indent  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
    private String orderId;                     //订单ID
	private String orderNum;                    //订单号
    private Integer num;                        //数量
    private Double originalPrice;               //原格
    private Double price;                       //现价
    private Double totalPrice;                  //总价
    private Integer isTemplate;                 //是否模板：0-否，1-是
    private Long addressId;                     //收货地址ID
    private Integer isSort;                     //是否置顶0-否，1-是
    private String memo;                        //备注
    private String adminMemo;					//管理员备注
    private Date createTime;                    //创建时间
    private Long userId;                        //创建人用户ID
    private String userName;                    //用户名
    private Date updateTime;                    //修改时间
    private Long modifier;                      //修改人
    private Integer isDown;                     //是否下载：0-否，1-是
    private Integer isAffirm;                   //是否确认订单：0-否，1-是
    private Integer payStatus;                  //支付情况：0-未支付,1-支付成功,2-申请退款,3-退款成功
    private Integer payType;                    //支付方式
    private Integer state;                      //订单状态：-1-作废,0-待处理，1-待发货，2-已发货,3-已完成
    private Integer isDesign;                   //是否设计：0-否，1-是  默认是普通订单
    private Long templateId;                    //模板ID


    private Integer orderType;                  //订单类型：0-指甲贴,1-手机壳模板,2-指甲贴模板
    private Integer shape;                      //形状(只有是指甲才有此信息)
    private Long phoneTextureId;               	//手机壳材质ID
    private Integer source;                     //图案来源:0-自定义图案，1--模板
    private Integer isAble;                     //是否可用：0-否，1-是
    private String size;						//尺寸
    private String phoneName;					//手机名(只有选择手机定制才有)

    private String imgIds;                      //图片IDS
    
    private String waybill;						//运单号
    private String express;						//快递公司
    private Date expressTime;                   //快递发货时间
    private Date deliveryTime;                   //用户确认收货时间

    @Transient
    private List<FileUploadInfo> imgs;          //订单图片
    @Transient
    private Template template;                  //模板(只有选择模板才有此信息)
    @Transient
    private Address address;
    @Transient
    private PhoneTexture phoneTexture;			//材质信息

    public Indent() {
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getIsTemplate() {
        return isTemplate;
    }

    public void setIsTemplate(Integer isTemplate) {
        this.isTemplate = isTemplate;
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public Integer getIsSort() {
        return isSort;
    }

    public void setIsSort(Integer isSort) {
        this.isSort = isSort;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getModifier() {
        return modifier;
    }

    public void setModifier(Long modifier) {
        this.modifier = modifier;
    }

    public Integer getIsDown() {
        return isDown;
    }

    public void setIsDown(Integer isDown) {
        this.isDown = isDown;
    }

    public Integer getIsAffirm() {
        return isAffirm;
    }

    public void setIsAffirm(Integer isAffirm) {
        this.isAffirm = isAffirm;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getPayTye() {
        return payType;
    }

    public void setPayTye(Integer payType) {
        this.payType = payType;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getShape() {
        return shape;
    }

    public void setShape(Integer shape) {
        this.shape = shape;
    }


    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getIsAble() {
        return isAble;
    }

    public void setIsAble(Integer isAble) {
        this.isAble = isAble;
    }

    public List<FileUploadInfo> getImgs() {
        return imgs;
    }

    public void setImgs(List<FileUploadInfo> imgs) {
        this.imgs = imgs;
    }

    public Template getTemplate() {
        return template;
    }

    public void setTemplate(Template template) {
        this.template = template;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getImgIds() {
        return imgIds;
    }

    public void setImgIds(String imgIds) {
        this.imgIds = imgIds;
    }

    public Integer getIsDesign() {
        return isDesign;
    }

    public void setIsDesign(Integer isDesign) {
        this.isDesign = isDesign;
    }

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

    public String getWaybill() {
        return waybill;
    }

    public void setWaybill(String waybill) {
        this.waybill = waybill;
    }

    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }

    public Date getExpressTime() {
        return expressTime;
    }

    public void setExpressTime(Date expressTime) {
        this.expressTime = expressTime;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

	public String getAdminMemo() {
		return adminMemo;
	}

	public void setAdminMemo(String adminMemo) {
		this.adminMemo = adminMemo;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getPhoneName() {
		return phoneName;
	}

	public void setPhoneName(String phoneName) {
		this.phoneName = phoneName;
	}

	public PhoneTexture getPhoneTexture() {
		return phoneTexture;
	}

	public void setPhoneTexture(PhoneTexture phoneTexture) {
		this.phoneTexture = phoneTexture;
	}

	public Long getPhoneTextureId() {
		return phoneTextureId;
	}

	public void setPhoneTextureId(Long phoneTextureId) {
		this.phoneTextureId = phoneTextureId;
	}
    
    
}
